home *** CD-ROM | disk | FTP | other *** search
- #ifndef PICTUREWINDOW_HPP
- #define PICTUREWINDOW_HPP
-
- // $VER: PictureWindow.hpp 39.8 (10.06.97)
- //
- //
- // (C) Copyright 1996,97 Markus Hillenbrand
- // All Rights Reserved, No Warranty
-
- #include "GUICINCLUDE:GUIC_Window.hpp"
-
- class GUIC_ScreenC;
- class GUIC_ApplicationC;
- class GUIC_GGFXPictureC;
- class GUIC_TextC;
- class GUIC_NumberC;
- class GUIC_BorderPropC;
- class GUIC_EventC;
-
- class PictureWindowC : public GUIC_WindowC
- {
- public:
- PictureWindowC (GUIC_ApplicationC &app, GUIC_ScreenC &screen);
- ~PictureWindowC (VOID);
- BOOL action (GUIC_EventC &event);
- VOID setDimensions (LONG x, LONG y);
- VOID showPicture (STRPTR fileName);
- VOID setTextGadget (GUIC_TextC *t);
- VOID setNumberGadgets (GUIC_NumberC *n1, GUIC_NumberC *n2);
- VOID setScaled (BOOL);
- VOID setCentered (BOOL);
- STRPTR getClass (VOID);
- GUIC_GGFXPictureC * getPicture (VOID);
- protected:
- VOID cleanUp (VOID);
- private:
- GUIC_ApplicationC* app;
- GUIC_ScreenC* screen;
- GUIC_GGFXPictureC* picture;
- GUIC_TextC* textGadget;
- GUIC_NumberC* widthGadget;
- GUIC_NumberC* heightGadget;
- GUIC_BorderPropC* rightProp;
- GUIC_BorderPropC* bottomProp;
- BOOL scale, center;
- };
-
- #endif
-
-